<?php
        function getProductList()
        {
                $productQuerry = "SELECT * FROM `tblProducts`";

                $productResults = executeQuerry($productQuerry);

		print "<productList>\n";
		while($productArray = mysql_fetch_array($productResults))
		{
			print "\t<product>\n";

			print "\t\t<productID>\n";
			print "\t\t\t" . $productArray['productID'] . "\n";
			print "\t\t</productID>\n";

			print "\t\tt<productPrice>\n";
			print "\t\t\t" . $productArray['productPrice'] . "\n";
			print "\t\t</productPrice>\n";

			print "\t\t<productName>\n";
			print "\t\t\t" . $productArray['productName'] . "\n";
			print "\t\t</productName>\n";

			print "\t\t<productDescription>\n";
			print "\t\t\t" . $productArray['productDescription'] . "\n";
			print "\t\t</productDescription>\n";

			print "\t</product>\n";
		}
		print "</productList>\n";
	}
?>
